package com.sskj.mine.bean;

import com.sskj.lib.util.TimeFormatUtil;

import java.util.Date;

public class NodeBean {

    /**
     * price : 35986.159169
     * addtime : 1557468301
     * memo : 超级节点收益
     */

    private String price;
    private String addtime;
    private String memo;

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getAddtime() {
        return TimeFormatUtil.SF_FORMAT_E.format(new Date(Long.valueOf(addtime)*1000));
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }
}
